import { instance } from "../request";
export const userRoleFindByIdService = (id)=>{
    return instance.get(`/sys/userRole/${id}`)
}

export const userRoleAddService = (userId,roles)=>{
    return instance.post(`/sys/userRole/${userId}`,roles)
}